package org.xxx.epms.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.xxx.epms.admin.models.AdminPermission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lb
 * @since 2024-06-12
 */
@Mapper
public interface AdminPermissionMapper extends BaseMapper<AdminPermission> {

    /**
     * 根据管理员ID查询权限
     * @param adminId 管理员ID
     * @return 权限列表
     */
    List<AdminPermission> selectByAdminId(int adminId);

}
